package cn.accp.entity;

/**
 * 学生成绩类
 * 
 * @author Jiangqs
 * 
 */
public class Student {
	// 学生学号
	private int id;
	// 姓名
	private String name;
	// java科目成绩
	private int javaScore;
	// html科目成绩
	private int htmlScore;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getJavaScore() {
		return javaScore;
	}

	public void setJavaScore(int javaScore) {
		this.javaScore = javaScore;
	}

	public int getHtmlScore() {
		return htmlScore;
	}

	public void setHtmlScore(int htmlScore) {
		this.htmlScore = htmlScore;
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", javaScore="
				+ javaScore + ", htmlScore=" + htmlScore + "]";
	}

	public Student(int id, String name, int javaScore, int htmlScore) {
		super();
		this.id = id;
		this.name = name;
		this.javaScore = javaScore;
		this.htmlScore = htmlScore;
	}

	public Student() {

	}

}
